import { useRoutePathToPage, useRouteNameToPage } from "@u/router";

export const appViewConfig = {
    avatar: {
        src: require("@a/logo.png")
    },
    tags: [{
            color: "red",
            text: "技能标签"
        },
        {
            color: "success",
            text: "vuejs"
        },
        {
            color: "success",
            text: "css3"
        },
        {
            color: "orange",
            text: "js",

        },
        {
            color: "blue",
            text: "ts基础",

        },
        {
            color: "orange",
            text: "uni小程序",

        }, {
            color: "blue",
            text: "后台管理系统",

        }, {
            color: "red",
            text: "移动端app部分功能",

        },
        {
            color: "orange",
            text: "都只是了解了会用，还非掌握",

        },
        {
            color: "success",
            text: "不断学习进步",

        },
    ],
    menu: [{
            text: "首页",
            //添加路由跳转方式  
            handle: useRoutePathToPage("/show/blogs/1")
        },
        {
            text: "归档",
            handle: useRoutePathToPage("/show/menu")
        }, {
            text: "赞助列表",
            handle: useRoutePathToPage("/show/list")
        },
        {
            text: "关于我",
            type: "primary",
            handle: useRouteNameToPage("ShowAbout")
        },
    ]
}